package com.huawei.appgallery.assistantdock.gamemode.card;

import android.content.Context;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import o.beo$d;
import o.beo.f;
import o.bif.d;
import o.bif.j;
import o.bii;

public class TripleFingerDisableEnterCardBuoy extends BuoyBaseEnterCard {
    public TripleFingerDisableEnterCardBuoy(Context context) {
        super(context);
    }

    public void ˏ(CardBean cardBean) {
        super.ˏ(cardBean);
        this.ˊ.setText(f.ᐝˋ);
        this.ॱ = bii.ʻ() == j.OPEN;
        ॱॱ();
    }

    void ॱॱ() {
        this.ʼ.setBackgroundResource(this.ॱ ? beo$d.ॱʼ : beo$d.ـ);
    }

    public void ˋ() {
        this.ॱ = !this.ॱ;
        ॱॱ();
        ʻ();
        bii.ˎ(this.ॱ ? j.OPEN : j.CLOSE);
        ˏ(this.ॱ ? "STATE2" : "STATE1");
    }

    String ᐝ() {
        return d.GSS_TRIPLE_FINGER.ˊ();
    }
}
